package com.hengxinguotong.hxgtwygsp.ui.regulation;

import com.hengxinguotong.hxgtwygsp.model.Rule;

import java.util.ArrayList;

/**
 * 模拟数据
 * Created by CS-Yong
 * 2019/9/2  13:41
 */
public class NoticeAndRuleData {

    public static ArrayList<Rule> mPublicList , mImportantList , mLawList, mPolicyList, mGuideList;

    static {
        mPublicList = new ArrayList<>();
                mImportantList = new ArrayList<>();
                mLawList = new ArrayList<>();
                mPolicyList = new ArrayList<>();
                mGuideList = new ArrayList<>();

        mPublicList.add(new Rule("楚天都市金园监控、对讲机改造参考报价","2019-09-01","public_1.xls"));
        mPublicList.add(new Rule("楚天都市金园小区消防设施勘察结果及维修方案","2019-09-01","public_2.pdf"));
        mPublicList.add(new Rule("楚天都市金园小区防水维修工程方案","2019-09-01","public_3.xlsx"));
        mPublicList.add(new Rule("电梯整改方案及报价清单","2019-09-01","public_4.xlsx"));
        mPublicList.add(new Rule("楚天都市金园小区在用电梯安全评估分析报告","2019-09-01","public_5.docx"));
        mPublicList.add(new Rule("楚天都市金园物业管理服务情况调查问卷 ","2019-09-01","public_6.doc"));
        mPublicList.add(new Rule("楚天都市金园小区问卷调查情况说明","2019-09-01","public_7.docx"));


        mImportantList.add(new Rule("市住房保障房管局关于配合做好物业小区规范养犬工作的通知","2019-09-01","important_1.pdf"));
        mImportantList.add(new Rule("市住房保障房管局关于协同做好物业小区电梯质量安全工作的通知","2019-09-01","important_2.pdf"));
        mImportantList.add(new Rule("市住房保障房管局关于配合开展全市物业小区临街违规晾晒物品整治工作的通知","2019-09-01","important_3.pdf"));

        mLawList.add(new Rule("湖北省物业服务和管理条例","2019-09-01","law_1.pdf"));
        mLawList.add(new Rule("湖北省物业服务收费管理办法","2019-09-01","law_2.docx"));
        mLawList.add(new Rule("武汉市物业管理条例","2019-09-01","law_3.docx"));
        mLawList.add(new Rule("武汉市住宅专项维修资金管理办法","2019-09-01","law_4.docx"));
        mLawList.add(new Rule("物业管理条例","2019-09-01","law_5.doc"));

        mPolicyList.add(new Rule("武汉市住宅物业服务等级标准","2019-09-01","policy_1.docx"));
        mPolicyList.add(new Rule("武汉市住宅小区物业服务质量考评办法","2019-09-01","policy_2.docx"));
        mPolicyList.add(new Rule("关于印发武汉市物业服务收费管理实施细则的通知","2019-09-01","policy_3.pdf"));
        mPolicyList.add(new Rule("市住房保障房管局关于进一步加强住宅专项维修资金管理工作的实施意见","2019-09-01","policy_4.docx"));


        mGuideList.add(new Rule("物业小区应知应会知识","2019-09-01","guide_1.pdf"));
        mGuideList.add(new Rule("业委会工作指南","2019-09-01","guide_2.doc"));
        mGuideList.add(new Rule("住宅专项维修资金管理（使用备案）办事流程","2019-09-01","guide_3.docx"));
    }


    public static ArrayList<Rule> getPublicHeadList(){
        ArrayList<Rule> mList = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
            mList.add(mPublicList.get(i));
        }
        return mList;
    }

    public static ArrayList<Rule> getPublicAllList(){
        return mPublicList;
    }

    public static ArrayList<Rule> getImportantHeadList(){
        ArrayList<Rule> mList = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
            mList.add(mImportantList.get(i));
        }
        return mList;
    }

    public static ArrayList<Rule> getImportantAllList(){
        return mImportantList;
    }

    public static ArrayList<Rule> getLawHeadList(){
        ArrayList<Rule> mList = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
            mList.add(mLawList.get(i));
        }
        return mList;
    }

    public static ArrayList<Rule> getLawAllList(){
        return mLawList;
    }

    public static ArrayList<Rule> getPolicyHeadList(){
        ArrayList<Rule> mList = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
            mList.add(mPolicyList.get(i));
        }
        return mList;
    }

    public static ArrayList<Rule> getPolicyAllList(){
        return mPolicyList;
    }

    public static ArrayList<Rule> getGuideHeadList(){
        ArrayList<Rule> mList = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
            mList.add(mGuideList.get(i));
        }
        return mList;
    }

    public static ArrayList<Rule> getGuideAllList(){
        return mGuideList;
    }

}
